<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <title>jquery moblie</title>
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <link href="lib/jquery-mobile/jquery.mobile-1.4.5.css" type="text/css" rel="stylesheet"/>
    <script src="js/jquery-2.1.3.js" type="text/javascript"></script>
    <script src="lib/jquery-mobile/jquery.mobile-1.4.5.js" type="text/javascript"></script>
    <style>
        .mylist {width: 90%; margin-left: auto; margin-right: auto;}
        .mylist div {line-height: 40px; text-align: center;}
    </style>
</head>
<body>
<div data-role="page">
    <div data-role="header" data-fullscreen="true">
        <h1>欢迎访问我的主页</h1>
    </div>

    <div data-role="content">
        <p>两列布局：</p>
        <div class="ui-grid-a">
            <div class="ui-block-a">
                <a href="#" data-role="button">第一列按钮</a>
            </div>
            <div class="ui-block-b">
                <a href="#" data-role="button">第二列按钮</a>
            </div>
        </div>
        <p>多行的三列布局：</p>
        <div class="ui-grid-b mylist">
            <div class="ui-block-a" style="background-color: #0066cc"><span>Some Text a1</span></div>
            <div class="ui-block-b" style="background-color: #008200"><span>Some Text b1</span></div>
            <div class="ui-block-c" style="background-color: #aa7700"><span>Some Text c1</span></div>
            <div class="ui-block-a" style="background-color: #ff1493"><span>Some Text a2</span></div>
            <div class="ui-block-b" style="background-color: #afd9ee"><span>Some Text b2</span></div>
            <div class="ui-block-a" style="background-color: #ffff00"><span>Some Text a3</span></div>
        </div>
    </div>

    <div data-role="footer" data-position="fixed" data-fullscreen="true">
        <h1>页脚文本</h1>
    </div>
</div>
</body>
</html>